package com.william.taskrobot.service.faq;

import org.springframework.stereotype.Service;

/**
 * FaqService class
 * 问答集检索
 * @author william
 * @date 2021/1/19
 */
@Service
public class FaqService {
    public String getAnswer(String question){
        SimpleQuery simpleQuery=new SimpleQuery();
        return  simpleQuery.query(question);
    }
}
